package com.tbit.uqbike.service.business;

import com.github.pagehelper.PageInfo;
import com.tbit.uqbike.object.pojo.RechargeGiveLog;
import com.tbit.uqbike.object.value.Page;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author jing
 * @date 2020/11/1013:51
 * @Description:
 */
public interface RechargeGiveLogService {
    /**
     * 根据充值金额统计赠送
     */
    List<Map<String, Object>> getByType(HashMap<String, Object> params, Integer accountId, Date startTime, Date endTime, Boolean flag, List<Integer> moneys, Page page);

    /**
     * 根据指定条件查询
     */
    PageInfo<RechargeGiveLog> getRechargeGiveLog(RechargeGiveLog give, Page page);

    Map<String, Object> getTotal(RechargeGiveLog rechargeGiveLog);

}
